package com.domain;

import java.io.Serializable;

/**
 * 包含系名和系ID的系实体类
 */
public class College extends Student {

    private Integer collegeID;
    private String collegeName;

    @Override
    public String toString() {
        return "college{" + super.toString() +
                ", collegeName='" + collegeName + '\'' +
                '}';
    }

    @Override
    public Integer getCollegeID() {
        return collegeID;
    }

    @Override
    public void setCollegeID(Integer collegeID) {
        this.collegeID = collegeID;
    }

    public String getCollegeName() {
        return collegeName;
    }

    public void setCollegeName(String collegeName) {
        this.collegeName = collegeName;
    }
}
